package com.aigou.admin.entity;

import java.sql.Timestamp;

public class Product {
    private String id;
    private String product_name;
    private String product_image;
    private double price;
    private String product_type;
    private String product_desc;
    private Timestamp create_time;
    private String product_brand;

    public Product() {
    }

    public Product(String id, String product_name, String product_image, double price, String product_type, String product_desc, Timestamp create_time, String product_brand) {
        this.id = id;
        this.product_name = product_name;
        this.product_image = product_image;
        this.price = price;
        this.product_type = product_type;
        this.product_desc = product_desc;
        this.create_time = create_time;
        this.product_brand = product_brand;
    }

    // Getters and Setters
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProduct_name() {
        return product_name;
    }

    public void setProduct_name(String product_name) {
        this.product_name = product_name;
    }

    public String getProduct_image() {
        return product_image;
    }

    public void setProduct_image(String product_image) {
        this.product_image = product_image;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getProduct_type() {
        return product_type;
    }

    public void setProduct_type(String product_type) {
        this.product_type = product_type;
    }

    public String getProduct_desc() {
        return product_desc;
    }

    public void setProduct_desc(String product_desc) {
        this.product_desc = product_desc;
    }

    public Timestamp getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Timestamp create_time) {
        this.create_time = create_time;
    }

    public String getProduct_brand() {
        return product_brand;
    }

    public void setProduct_brand(String product_brand) {
        this.product_brand = product_brand;
    }

    @Override
    public String toString() {
        return "Product{" +
                "id='" + id + '\'' +
                ", product_name='" + product_name + '\'' +
                ", product_image='" + product_image + '\'' +
                ", price=" + price +
                ", product_type='" + product_type + '\'' +
                ", product_desc='" + product_desc + '\'' +
                ", create_time=" + create_time +
                ", product_brand='" + product_brand + '\'' +
                '}';
    }
}